/*  
 * 功能：世界树顶端 召唤戴米安一阶段(困难)
 * From: 芬芬时尚潮流
 */

function start() {
	var eim = ms.getEventInstance();
	var em = ms.getEventManager("BossDemian_HARD");
	if (eim != null && eim.getProperty("summom").equals("0")) {
		eim.setProperty("summom", "1");
		var mob = em.getMonster(8880100);
		var modified = em.newMonsterStats();
		modified.setOHp(10000000000000);
		modified.setOMp(mob.getMobMaxMp() * 2);
		mob.setOverrideStats(modified);
		eim.registerMonster(mob);
		ms.getMap().spawnMonsterOnGroundBelow(mob, new java.awt.Point(828, 15));
	}
	//创建飞行的剑
	/*for (i = 0; i < 4; i++) {//createFlyingSword
		ms.getMap().createSwordNode(8880100);
	}*/
	
	ms.dispose();
}
